package com.chezhujie.www.persistence;

import java.util.List;
import java.util.Map;
import java.util.Set;

import com.chezhujie.www.domain.Trolepermission;
import com.chezhujie.www.domain.Tsuser;



public interface TuserMapper {
	
	Tsuser getTuserByName(Map<String,Object> param);
	
	List<String> getTuserALLName();
	
	
	Set<Trolepermission> getTuserPer(Map<String,Object> param);
	
	Tsuser getTuser(Map<String,Object> param);
	List<Tsuser> getTuserList(Map<String,Object> param);
	void insertTuser(Tsuser tuser);
	void updateTuser(Tsuser tuser);
	void deleteTuser(Map<String,Object> param);
   int getTotalRows(Map<String,Object> param);
 }